how I can get hours range from timestamp

welcome to shbcf.ru